#include "networkhandler.h"

NetworkHandler::NetworkHandler()
{

}

void NetworkHandler::run()
{
    msleep(4);
    exec();
}

void NetworkHandler::ConnectToServer(QString address, int port)
{
    tcpSocket->abort();
    tcpSocket->connectToHost(address, port);
}

